//
//  main.m
//  点语法
//
//  Created by 郭志远 on 2023/12/4.
//

#import <Foundation/Foundation.h>
#import "Person.h"

int main(int argc, const char * argv[]) {
    Person *p = [Person new];
    [p setAge:12];
    [p setName:@"aaa"];
    [p setHeight:1.8];
    
    p.name = @"asas";
    p.age = 12;
    p.height = 18.8;
    
    NSLog(@"name = %@, age = %i, heighet = %f",p.name, p.age, p.height);
    
    return 0;
}
